It is said that the presence of duplicate code is one of the factors that make software maintenance more difficult. Many research\r\nefforts have been performed on detecting, removing, or managing duplicate code on this basis. However, some researchers doubt\r\nthis basis in recent years and have conducted empirical studies to investigate the influence of the presence of duplicate code. In this\r\nstudy, we conduct an empirical study to investigate this matter from a different standpoint from previous studies. In this study, we\r\ndefine a new indicator ââ?¬Å?modification frequencyââ?¬Â to measure the impact of duplicate code and compare the values between duplicate\r\ncode and nonduplicate code. The features of this study are as follows the indicator used in this study is based on modification places\r\ninstead of the ratio of modified lines; we use multiple duplicate code detection tools to reduce biases of detection tools; and we\r\ncompare the result of the proposed method with other two investigation methods. The result shows that duplicate code tends\r\nto be less frequently modified than nonduplicate code, and we found some instances that the proposed method can evaluate the\r\ninfluence of duplicate code more accurately than the existing investigation methods.
Loading....